import Icon from '@ant-design/icons';
export interface CustomIconProps {
    icon: string
}

function CustomIcon({ icon }: CustomIconProps) {
    return <Icon component={() => <i className={`iconfont ${icon}`} />} />;
}

export default CustomIcon;